package cartagows.wsframework.wssecurity.core;

import javax.security.auth.callback.CallbackHandler;

public class MessageProtectionInfo {
	
	private String encryptionUser;
	private String signatureUser;
	private String signatureDecryptionPassword;
	private String cryptoEncProperties;
	private String cryptoDecProperties;
	private CallbackHandler pwdCallback;
	
	public MessageProtectionInfo(String encryptionUser, String signatureUser, String signatureDecryptionPassword, 
			String cryptoEncProperties, String cryptoDecProperties, CallbackHandler pwdCallback){

		this.encryptionUser = encryptionUser;
		this.signatureUser = signatureUser;
		this.signatureDecryptionPassword = signatureDecryptionPassword;
		this.cryptoEncProperties = cryptoEncProperties;
		this.cryptoDecProperties = cryptoDecProperties;
		this.pwdCallback = pwdCallback;
	}

	public MessageProtectionInfo(String signatureUser, String signatureDecryptionPassword, 
			String cryptoEncProperties, String cryptoDecProperties, CallbackHandler pwdCallback){

		this.signatureUser = signatureUser;
		this.signatureDecryptionPassword = signatureDecryptionPassword;
		this.cryptoEncProperties = cryptoEncProperties;
		this.cryptoDecProperties = cryptoDecProperties;
		this.pwdCallback = pwdCallback;
	}

	public String getEncryptionUser() {
		return encryptionUser;
	}

	public String getSignatureUser() {
		return signatureUser;
	}

	public String getSignatureDecryptionPassword() {
		return signatureDecryptionPassword;
	}

	public String getCryptoEncProperties() {
		return cryptoEncProperties;
	}

	public String getCryptoDecProperties() {
		return cryptoDecProperties;
	}

	public CallbackHandler getPwdCallback() {
		return pwdCallback;
	}

}
